import java.util.Scanner;

public class text2 {
    public static String fun(String s){
        StringBuffer stringBuffer=new StringBuffer();
        for(int i=0;i<s.length();i++) {
            char ch = s.charAt(i);
            if (ch >= 'A' && ch <= 'Z') {
                ch = (char) (ch + 32);
                stringBuffer.append(ch);
            } else {
                stringBuffer.append(ch);
            }
        }
        return stringBuffer.toString();
    }
    public static void main(String[] args){
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入您想要变化的字符串");
        String s=scanner.nextLine();
        String s1=fun(s);
        System.out.println(s1);
    }
}
